package com.zijidelu.luframework.base.exception;

import com.zijidelu.luframework.base.message.Message;

/**
 * 系统异常。
 *
 * @author ZIJIDELU
 * @datetime 2025/5/23 13:45
 */
public class SysException extends RuntimeException {
    public SysException(String message) {
        super(message);
    }

    public SysException(Throwable throwable) {
        super(throwable);
    }

    public SysException(String message, Throwable throwable) {
        super(message, throwable);
    }

    public SysException(Message message) {
        super(message.getText());
    }
}
